﻿namespace UnitFundProfitability.BusinessLogicTest
{
	using Microsoft.VisualStudio.TestTools.UnitTesting;
	using UnitFundProfitability.BusinessLogic;

	/// <summary>
	/// This is a test class for UpdatesManagerTest and is intended
	/// to contain all UpdatesManagerTest Unit Tests.
	/// </summary>
	[TestClass()]
	public class UpdatesManagerTest
	{
		private TestContext testContextInstance;

		/// <summary>
		/// Gets or sets the test context which provides
		/// information about and functionality for the current test run.
		/// </summary>
		/// <value>The test context.</value>
		public TestContext TestContext
		{
			get
			{
				return testContextInstance;
			}

			set
			{
				testContextInstance = value;
			}
		}

		/// <summary>
		/// A test for EnsureLatestData.
		/// </summary>
		[TestMethod()]
		public void EnsureLatestDataTest()
		{
			// Ensures that no exceptions wil be thrown.
			UpdatesManager.EnsureLatestData();
		}
	}
}
